## API Report File for "@backstage/plugin-gcalendar"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
/// <reference types="@maxim_mazurok/gapi.client.calendar" />
/// <reference types="react" />

import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { FetchApi } from '@backstage/core-plugin-api';
import { JSX as JSX_2 } from 'react';
import { OAuthApi } from '@backstage/core-plugin-api';
import { RouteRef } from '@backstage/core-plugin-api';

// @public (undocumented)
export type EventAttendee = gapi.client.calendar.EventAttendee;

// @public (undocumented)
export type GCalendar = gapi.client.calendar.CalendarListEntry;

// @public (undocumented)
export class GCalendarApiClient {
  constructor(options: { authApi: OAuthApi; fetchApi: FetchApi });
  // (undocumented)
  getCalendars(params?: any): Promise<gapi.client.calendar.CalendarList>;
  // (undocumented)
  getEvents(
    calendarId: string,
    params?: any,
  ): Promise<{
    items: GCalendarEvent[];
  }>;
}

// @public (undocumented)
export const gcalendarApiRef: ApiRef<GCalendarApiClient>;

// @public (undocumented)
export type GCalendarEvent = gapi.client.calendar.Event &
  Pick<GCalendar, 'backgroundColor' | 'primary'> &
  Pick<EventAttendee, 'responseStatus'> & {
    calendarId?: string;
  };

// @public (undocumented)
export type GCalendarList = gapi.client.calendar.CalendarList;

// @public (undocumented)
export const gcalendarPlugin: BackstagePlugin<
  {
    root: RouteRef<undefined>;
  },
  {}
>;

// @public (undocumented)
export const HomePageCalendar: () => JSX_2.Element;

// @public (undocumented)
export enum ResponseStatus {
  // (undocumented)
  accepted = 'accepted',
  // (undocumented)
  declined = 'declined',
  // (undocumented)
  maybe = 'tentative',
  // (undocumented)
  needsAction = 'needsAction',
}

// (No @packageDocumentation comment for this package)
```
